﻿@model IOSpro.Models.VideoInfo

@{
    ViewBag.Title = "AddVideoInfo";
}

<h2>AddVideoInfo</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>VideoInfo</legend>


                <div class="editor-label">
            @Html.LabelFor(model => model.VideoIssue)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VideoIssue)
            @Html.ValidationMessageFor(model => model.VideoIssue)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.VideoIntroduction)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VideoIntroduction)
            @Html.ValidationMessageFor(model => model.VideoIntroduction)

        </div>

                <div class="editor-field">
            类别：
            @*@Html.DropDownList("VideoSheets", ViewData["dplVideosheet"] as IEnumerable<SelectListItem>,new {style="width:100px"});*@
           @Html.DropDownList("VideoSheets",ViewData["dplVideosheet"]  as IEnumerable<SelectListItem>,new {style="width:100px"})
           
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
